import { addAppComponent } from '@/app'
import MapLegendVue from './MapLegend.vue'

export { registerMapLegend, type MapLegendEntry } from './legend'

export function setupMapLegend() {
  addAppComponent({ component: MapLegendVue }, 'left')
}
